package io.datajek.springbasics.movierecommendersystem.lesson8;

//寻找电影

import org.springframework.stereotype.Component;

@Component("CBF")
public class ContentBasedFilter implements Filter {

    public ContentBasedFilter() {
        super();
        System.out.println("content-based filter constructor called");
    }

    //寻找相关电影的所有步骤都在这个方法中进行
    public String[] getRecommendations(String movie){

        return new String[] {"Happy Feet", "Ice Age", "Shark Tale"};
    }
}
